-- GENERATED SPELL FOR [Marsh Dredger] --


function spell0_18137(pUnit, Event) --@Strangling Roots,n/a--
pUnit:FullCastSpellOnTarget(35234,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18137', 9500, 1)
end

function Sorts_18137(pUnit, Event)
local choix_sorts_18137 = math.random(0, 0)
if choix_sorts_18137 == 0 then
pUnit:RegisterEvent('spell0_18137', 1, 1)
end
end

function mob18137_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18137', math.random(1500, 3000), 1)
end

function mob18137_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18137_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18137_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18137, 1, 'mob18137_Action')
RegisterUnitEvent(18137, 2, 'mob18137_Leave')
RegisterUnitEvent(18137, 3, 'mob18137_Kill')
RegisterUnitEvent(18137, 4, 'mob18137_Die')
